package jp.co.realsys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import jp.co.realsys.dao.UserDBDao;
import jp.co.realsys.error.TaskException;
import jp.co.realsys.model.UserModel;
import jp.co.realsys.service.UsersinfoService;

@Service
@Transactional
public class UsersInfoServiceImpl implements UsersinfoService {
	@Autowired
	private UserDBDao dao ;
	
	public boolean doCheckUser(UserModel model) throws TaskException{
		try {
			return dao.doCheckUser(model);
		} catch (TaskException e) {
			throw e;
		}
	}
}
